package serverStuff;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface IServices extends Remote {
	enum ClientType{User,Library,None}
	
	ServerReply getBookInfo(String ISBN) throws RemoteException;
	
	ServerReply getAllTitleAndISBN() throws RemoteException;
	
	ServerReply getDescription(String ISBN) throws RemoteException;
	
	ServerReply getAllInformation() throws RemoteException;
	
	ServerReply getBookAmount(String ISBN) throws RemoteException;
	
	ServerReply updateBookAmount(String ISBN, int amount,ClientType type) throws RemoteException;

}
